<template>
	<div class="header clearfix">
        <div class="headerLeft">
            <img src="@/assets/img/pageIcon.png" />
        </div>
        <div class="headerRight">
            <el-dropdown :hide-on-click="false">
                <span class="el-dropdown-link">
                    <img class="avatar" src="https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png"/>
                    kaka<i class="el-icon-arrow-down el-icon--right"></i>
                </span>
                <el-dropdown-menu slot="dropdown">
                    <el-dropdown-item>退出</el-dropdown-item>
                </el-dropdown-menu>
            </el-dropdown>
        </div>
	</div>
</template>

<script>
	export default {
		name: 'index',
		data () {
			return {
			
			}
		}
	}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
	.header{
		width: 100%;
		height: 60px;
        background-color: #233742;
        position: fixed;
        top: 0;
        left: 0;
        box-sizing: border-box;
        padding: 0 50px;
        z-index: 999;
        color: #fff;
	}
    .headerLeft{
        float: left;
    }
    .headerLeft img{
        width: 110px;
        margin-top: 15px;
    }
    .headerRight{
        float: right;
        margin-top: 19px;
    }
    .avatar{
        width: 22px;
        height: 22px;
        border-radius: 50%;
        margin-right: 10px;
    }
    .el-dropdown-link {
        cursor: pointer;
        color: #fff;
        font-size: 14px;
    }
    .el-icon-arrow-down {
        font-size: 12px;
    }
</style>
